<#assign ctx= request.contextPath/>
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <title>DownUp Service!</title>
    <meta charset="utf-8">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="${ctx}/eureka/css/wro.css">
    <script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
</head>
<body id="one">
<#include "header.ftl">
<div class="container-fluid xd-container">
    <#if configErrors ?has_content>
        <#list configErrors as error>
            <h4 id="error"><font size="+1" color="red"><b>${error}</b></font></h4>
        </#list>
    </#if>
    <h1>账户信息</h1>
    <table id='accounts' class="table table-striped table-hover">
        <thead>
        <tr>
            <th>用户名</th>
            <th>最后一次登录</th>
            <th></th>
            <th></th>
            <th></th>
            <th></th>
            <th></th>
            <th></th>

        </tr>
        </thead>
        <tbody>
        <#if accounts ? has_content >
            <#list accounts as account>
                <tr>
                    <td id="username${account?index}">${account.username}</td>
                    <td id="lastLoginTime${account?index}">${account.lastLoginTime}</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>

                </tr>
            </#list>
        <#else>
            <tr>
                <td colspan="4">没有账户信息</td>
            </tr>
        </#if>
        </tbody>
    </table>

    <h1>日志信息</h1>
    <table id='logs' class="table table-striped table-hover">
        <thead>
        <tr>
            <th>操作人</th>
            <th>操作事件描述</th>
            <th>操作模块</th>
            <th>操作时间</th>
        </tr>
        </thead>
        <tbody>
        <#if logs ? has_content >
            <#list logs as log>
                <tr>
                    <td id="operatorName${log?index}">${log.operatorName}</td>
                    <td id="operateDescription${log?index}">${log.operateDescription}</td>
                    <td id="operateModule${log?index}">${log.operateModule}</td>
                    <td id="operateTime${log?index}">${log.operateTime}</td>
                </tr>
            </#list>
        <#else>
            <tr>
                <td colspan="4">没有日志信息</td>
            </tr>
        </#if>
        </tbody>
    </table>
</div>
<script type="text/javascript">

</script>
</body>
</html>